
<h2>Информация</h2>
<table class="form" style="margin-bottom: 20px;">
    <tr>
        <td>Име</td>
        <td class="value"><?= $this->escape($this->user['first_name'] . ' ' . $this->user['last_name']) ?></td>
    </tr>
    <tr>
        <td>Длъжност</td>
        <td class="value"><?= $this->escape($this->user['position']) ?></td>
    </tr>
    <tr>
        <td>Последно действие</td>
        <td class="value"><?= $this->escape($this->user['last_action']) ?></td>
    </tr>
</table>

<h2>Задачи</h2>

<? if ($this->tasks): ?>
<table class="list">
    <tr>
        <th>Задача</th>
        <th>Часове</th>
    </tr>
    <? foreach ($this->tasks as $task): ?>
    <tr>
        <td><?= $this->escape($task['name']) ?></td>
        <td><?= $this->escape($task['hours']) ?></td>
    </tr>
    <? endforeach ?>
</table>
<? else: ?>
Не са намерени задачи
<? endif ?>



